setFullScreenIntent
open fun setFullScreenIntent(@Nullable intent: PendingIntent, highPriority: Boolean): NotificationCompat.Builder(source)
An intent to launch instead of posting the notification to the status bar. Only for use with extremely high-priority notifications demanding the user's immediate attention, such as an incoming phone call or alarm clock that the user has explicitly set to a particular time. If this facility is used for something else, please give the user an option to turn it off and use a normal notification, as this can be extremely disruptive.
On some platforms, the system UI may choose to display a heads-up notification, instead of launching this intent, while the user is using the device.
Parameters
intent
The pending intent to launch.
highPriority
Passing true will cause this notification to be sent even if other notifications are suppressed.